<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:bc="http://brightcontent.net/ns/comments"
                xmlns="http://www.w3.org/1999/xhtml"
                exclude-result-prefixes="#default bc">

 <xsl:output method="html" indent="yes" />

 <xsl:param name="bc:atom_author_name" />
 <xsl:param name="bc:atom_author_name_error">*</xsl:param>
 <xsl:param name="bc:atom_author_uri" />
 <xsl:param name="bc:atom_content" />
 <xsl:param name="bc:atom_content_error">*</xsl:param>

 <xsl:template match="/">
  <form action="." method="post">
   <fieldset>
    <legend>Add Comment</legend>
    <div>
     <label for="atom_author_name">Name <xsl:value-of select="$bc:atom_author_name_error" /></label>
     <input type="text" name="name" id="atom_author_name" value="{$bc:atom_author_name}" />
     <label for="atom_author_uri">URI</label>
     <input type="text" name="uri" id="atom_author_uri" value="{$bc:atom_author_uri}" />
     <label for="atom_content">Comment <xsl:value-of select="$bc:atom_content_error" /></label>
     <textarea name="content" id="atom_content"><xsl:value-of select="$bc:atom_content" /><xsl:text> </xsl:text></textarea>
     <input type="submit" name="submit" id="comment-submit" value="Add Comment" />
    </div>
   </fieldset>
  </form>
 </xsl:template> 

</xsl:stylesheet>
                
